
<html>
<body>
<div id="container">
	<%@ include file="/WEB-INF/page/common/header.jsp" %>
	<div id="navigator">
 		<a href="<c:url value="/common/home.o"/>"><fmt:message key="label.common.home" /></a> > 
 		<fmt:message key="label.statistics.model" />
 		<%@ include file="/WEB-INF/page/common/navigator.jsp" %>
    </div>
    <div id="midbody">
    	<div id="leftside">
	     	<br>
		 	<a href="<c:url value="/statistics/query.o"/>"><fmt:message key="label.statistics.action.listall" /></a>
		 	<br><br>
		 	<a href="<c:url value="/statistics/x/query_by_category.o"/>"><fmt:message key="label.statistics.action.list.bycategory" /></a>
		 	<br><br>
		 	<a href="<c:url value="/statistics/x/query_by_status.o"/>"><fmt:message key="label.statistics.action.list.bystatus" /></a>
		 	<br><br>
		 	<a href="<c:url value="/statistics/x/query_by_rate.o"/>"><fmt:message key="label.statistics.action.list.byrate" /></a>
		 	<br><br>
    	</div>
    	<div id="rightside">
    		<div id="bigbox">
			    <div class="title clearfix">
			    	<div style="float: left">
			    		<fmt:message key="label.statistics.title" /> - <fmt:message key="label.statistics.action.list.byrate" />
			    	</div>
			    	<%@ include file="/WEB-INF/page/common/hidemenu.jsp" %>
		    	</div>
		    	<div class="content">
		    		<table id="queryTable">
		    			<tr>
		    				<th>
		    					<fmt:message key="label.event.field.mark" />
		    				</th>
		    				<th>
		    					<fmt:message key="label.statistics.field.count" />
		    				</th>
		    				<th>
		    					<fmt:message key="label.statistics.field.percent" />
		    				</th>
		    			</tr>
			    		<c:forEach var="stat" items="${statistics}">
		    			<tr>
		    				<td>
		    					<c:out value="${stat.label}" />
		    				</td>
		    				<td align="right">
		    					<c:out value="${stat.count}" />
		    				</td>
		    				<td align="right">
		    					<c:out value="${stat.percent}" />%
		    				</td>
		    			</tr>
			    		</c:forEach>
		    		</table>
		    	</div>
    		</div>
    	</div>
    </div>
	<%@ include file="/WEB-INF/page/common/foot.jsp" %>
</div>

</body>
</html>
